const env = {
  isDev: process.env.NODE_ENV === 'development',
  isProduct: process.env.NODE_ENV !== 'development',
  isClient: process.client,
  isServer: process.server
};
//生产环境自动屏蔽调试信息
//开发环境开启调试信息
console.debug = env.isDev ? console.debug : function() {};
// console.log = env.isDev ? console.log : function() {};
export default env;
